//
//  DetailsOfMeetingFromTableViewCell.h
//  Gxj
//
//  Created by 刘伟 on 2017/9/18.
//  Copyright © 2017年 wkq. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommentariesFromModel.h"

@interface DetailsOfMeetingFromTableViewCell : UITableViewCell

// 用户头像
@property (nonatomic,strong) UIButton *userHead;
// 用户名称
@property (nonatomic,strong) UILabel *userName;
// 等级勋章
@property (nonatomic,strong) UIImageView *medal;
// 等级
@property (nonatomic,strong) UILabel *gradeLab;
// 评论内容
@property (nonatomic,strong) UILabel *contentCommentaries;
// 查看更多
@property (nonatomic,strong) UIButton *toViewMore;
// 点赞图标
@property (nonatomic,strong) UIButton *thumpUp;
// 赞同
@property (nonatomic,strong) UILabel *agreeNum;
// 评论数
@property (nonatomic,strong) UILabel *commenttariesNum;
// 时间图标
@property (nonatomic,strong) UIImageView *timeImage;
// 评论时间
@property (nonatomic,strong) UILabel *timeAgo;

@property (nonatomic,strong) UIView *shadowView;
// 展开全文
@property (nonatomic,strong) UIButton *showAllBtn;

@property (nonatomic,strong) UILabel *bottomBgColor;

@property (nonatomic,strong) CommentariesFromModel *model;


///展开多个活动信息
@property(nonatomic, copy) void (^showMoreTextBlock)(UITableViewCell  *currentCell);

///未展开时的高度
+ (CGFloat)cellDefaultHeight:(CommentariesFromModel *)entity;
///展开后的高度
+ (CGFloat)cellMoreHeight:(CommentariesFromModel *)entity;

@end
